$(function() {
	
	//检索
	$("#searchBtn").click(function() {
		document.forms[0].action ="../websearch/searchManagerInit.action";
		document.forms[0].submit();
	});
	
	//资源选择
	$(".searchInfoSelect").click(function() {
		var goodsId=$(this).next().val();
		var price=$(this).next().next().val();
		var orderId=$("#orderId").val();
		document.forms[0].action ="../websearch/updateGoodsDetail.action?goodsId="+goodsId+"&price="+price+"&orderId="+orderId;
		document.forms[0].submit();
//		returnBack();
	});
	
});

function returnBack(){
	document.forms[0].action ="../webtask/taskManagerInit.action";
	document.forms[0].submit();
}
